package com.jlkf.dao;

import java.util.List;

import com.jlkf.pojo.TblCourseCollection;

public interface TblCourseCollectionMapper {
    int deleteByPrimaryKey(Long gId);

    int insert(TblCourseCollection record);

    int insertSelective(TblCourseCollection record);

    TblCourseCollection selectByPrimaryKey(Long gId);

    int updateByPrimaryKeySelective(TblCourseCollection record);

    int updateByPrimaryKey(TblCourseCollection record);
    
    /**
     * 取消收藏课程
     */
    int deleteByPrimaryCourse(Long userId,Long courseId);
    
    /**
     * 收藏列表
     */
    List<TblCourseCollection> selectList(Long userId);
}